package com.ruoyi.inventory.service;

import com.ruoyi.inventory.domain.TInventoryAllot;

import java.util.List;


/**
 * 调拨Service接口
 * 
 * @author cy
 * @date 2024-10-28
 */
public interface ITInventoryAllotService 
{
    /**
     * 查询调拨
     * 
     * @param id 调拨主键
     * @return 调拨
     */
    public TInventoryAllot selectTInventoryAllotById(Long id);

    /**
     * 查询调拨列表
     * 
     * @param tInventoryAllot 调拨
     * @return 调拨集合
     */
    public List<TInventoryAllot> selectTInventoryAllotList(TInventoryAllot tInventoryAllot);

    /**
     * 新增调拨
     * 
     * @param tInventoryAllot 调拨
     * @return 结果
     */
    public int insertTInventoryAllot(TInventoryAllot tInventoryAllot);

    /**
     * 修改调拨
     * 
     * @param tInventoryAllot 调拨
     * @return 结果
     */
    public int updateTInventoryAllot(TInventoryAllot tInventoryAllot);

    /**
     * 删除调拨信息
     *
     * @param id 调拨主键
     * @return 结果
     */
    public int deleteTInventoryAllotById(Long id);

    /**
     * 撤销审批
     *
     * @param approvalStatus 审批状态
     * @return 结果
     */
    public int upInventoryAllot(Integer approvalStatus, Integer allotStatus, String document);
}
